Skip to content

fix(scripts): drop the stale "five" from the balancing-pins banner - #17402

Merged
baozhoutao merged 1 commit into
mainfrom
claude/issue-15208-balancing-pins-banner
Sep 10, 2026
Merged

baozhoutao merged 1 commit into
mainfrom
claude/issue-15208-balancing-pins-banner

Conversation

@baozhoutao

Copy link
Copy Markdown
Collaborator

Closes #15208

Clause-②: no

What changed

scripts/partition-test-shards.mjs, the banner comment above the balancing-pins battery, :823 (text-located; the card's line number was from a stale commit):

Before

  // WRONG quantity satisfies every one of those assertions. These five pin the
  // quantity and the outcome.

After

  // WRONG quantity satisfies every one of those assertions. These pin the
  // quantity and the outcome.

Only the word five was removed. The sentence now matches the shape of the
sibling banner already in this file at :1082 ("These pin the one
comparison that can tell a good dataset from a rotted one."), which carries
no quantity word — the model the card pointed at, not touched here.

Pin count — unchanged, six, none touched

The six numbered pins under this banner (battery('the balancing pins (#10472)')) are exactly:

  1. weight is TIME, not file count
  2. committed dataset meets the acceptance bound at CI's shard count
  3. the bound is REACHABLE at this shard count
  4. the shard count is spelled in ci.yml too
  5. an unmeasured package is ESTIMATED, never silently free
  6. END-TO-END: the weight a REAL RUN gives a REAL package is its measured one

No pin was added, removed, or reordered. This is a comment-only fix with
zero behaviour change.

Probe — quantity word on the sentence, with positive control

Probe: grep -noP '(?<=These )(\w+)(?= pin the)' scripts/partition-test-shards.mjs

  • Before (positive control, run against the pre-fix text): 823:five — 1 match.
  • After (post-fix): no output — 0 matches.

node scripts/partition-test-shards.mjs --self-test still passes:

partition-test-shards: self-test OK (71 measured packages -> 72 shard items, 6 shards, max/mean 1.00x <= 1.3x, floor 404s, bins 672/672/672/671/672/671s)

confirming zero behaviour change.

Changeset

skip-changeset — measured, not assumed: this repo's root package
(@objectstack/spec-monorepo, which owns scripts/) is "private": true
and never publishes, and independently the edit is comment-only prose in a
script, which is one of the standard skip-changeset fast channels. skip-changeset
label requested on this PR.

Local gates run

  • node scripts/partition-test-shards.mjs --self-test — pass (shown above).
  • node scripts/check-nul-bytes.mjs — pass.
  • node scripts/check-self-test-wired.mjs — pass.
  • node scripts/check-scripts-symbol-anchors.mjs — pass.
  • pnpm check:entry-guard — pass.
  • pnpm check:parse-guard — pass.

Generated by Claude Code

The banner above the balancing-pins battery in
scripts/partition-test-shards.mjs said "These five pin the quantity
and the outcome" while six numbered pins (1-6) follow it. Make the
sentence numberless, matching the sibling banner at the
predicted-vs-measured battery ("These pin the one comparison..."),
so it cannot drift again when a seventh pin is added. No pin was
added, removed, or reordered; zero behaviour change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
@baozhoutao baozhoutao added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Sep 10, 2026 — with Claude
@baozhoutao
baozhoutao marked this pull request as ready for review September 10, 2026 11:52
@baozhoutao
baozhoutao added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit 62cf992 Sep 10, 2026
36 checks passed
@baozhoutao
baozhoutao deleted the claude/issue-15208-balancing-pins-banner branch September 10, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

partition-test-shards: the balancing-pins banner says "these five" over six numbered pins

2 participants